﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DataBase;

public class test : MonoBehaviour
{
    
    private void Start()
    {
    }

    private void Update()
    {
        if(Input.GetKeyDown(KeyCode.Alpha1))
        {
            EventCenter.Broadcast<int>(MyEventType.Dialogue, 1);
        }

        if (Input.GetKeyDown(KeyCode.Alpha2))
        {
            EventCenter.Broadcast<int>(MyEventType.Dialogue, 2);
        }

        if (Input.GetKeyDown(KeyCode.Alpha3))
        {
            EventCenter.Broadcast<int>(MyEventType.Dialogue, 3);
        }
    }
}
